package org.melanesia.converters.exceptions;

/**
 * Thrown form the {@link org.melanesia.converters.JavaToJavaConverter} or
 * {@link org.melanesia.converters.JavaToJdbcConverter} when a conversion error
 * occurs.
 *
 * @author marcin.kielar
 */
public class ConversionException extends Exception {

    /** Serial version uid for serialization. */
    private static final long serialVersionUID = 8772382496366560975L;

    /**
     * Constructs ConversionException with detail message.
     *
     * @param message
     *            message
     */
    public ConversionException(final String message) {
        super(message);
    }

    /**
     * Constructs ConversionException with detail message and a cause.
     *
     * @param message
     *            message
     * @param cause
     *            the cause
     */
    public ConversionException(final String message, final Throwable cause) {
        super(message, cause);
    }
}
